
package com.ibeeking.found.common.enums.system;

/**
 * @Author ibeeking
 * @Date: 2021-01-05 19:15
 * @Description: 系统公共数据表 数据类型 enum
 */
public enum ExpressDliverySettingFieldNameEnum {
    /**
     * 快递设置
     */
    DELIVERTY_FIELD_NAME("deliverySetting"),
    /**
     * 快递配送设置
     */
    SAME_CITY_DELIVERTY_FIELD_NAME("sameCitydeliverySetting"),
    /**
     * 自提点配送设置
     */
    PICK_UP_DELIVERTY_FIELD_NAME("pickUpStationSetting")
    ;

    private String value;

    ExpressDliverySettingFieldNameEnum(String value) {
        this.value = value;
    }


    public String getValue() {
        return value;
    }

    public static ExpressDliverySettingFieldNameEnum getEnum(String value) {
        for (ExpressDliverySettingFieldNameEnum enumObj : values()) {
            if (enumObj.getValue().equals(value)) {
                return enumObj;
            }
        }
        return null;
    }
}
